using MediatR;

namespace RAG.Domain.Events.User;

public class UserUpdatedEvent : INotification
{
    public Guid UserId { get; }
    public string UserName { get; }
    public string Email { get; }
    public DateTime UpdatedAt { get; }
    public string? PreviousUserName { get; }
    public string? PreviousEmail { get; }

    public UserUpdatedEvent(Guid userId, string userName, string email, DateTime updatedAt, string? previousUserName = null, string? previousEmail = null)
    {
        UserId = userId;
        UserName = userName;
        Email = email;
        UpdatedAt = updatedAt;
        PreviousUserName = previousUserName;
        PreviousEmail = previousEmail;
    }
} 